﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DevExpress.Web;
using TheHeGeo.Master;

namespace TheHeGeo.DataTransfer
{
    public partial class DownloadSensorHistoryData_English : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var site = Master as Site;  
            if (site != null)
            {
                var lb = site.FindControl("lblTabTxt") as ASPxLabel;
                if (lb != null) lb.Text = "Download history data";
            }
            UcDownloadHistory.maSensor = Request.QueryString["r"];
            try
            {
                UcDownloadHistory.maDuan = Convert.ToInt32(Request.QueryString["p"]);
            }
            catch (Exception)
            {
                UcDownloadHistory.maDuan = -9999;
            }
           
        }
    }
}